package com.ruoyi.business.domain;

import java.util.Date;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.annotation.Excel.ColumnType;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 业务信息对象 biz_business_info
 * 
 * @author ruoyi
 */
public class BusinessInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 业务ID */
    @Excel(name = "业务ID", cellType = ColumnType.NUMERIC)
    private Long businessId;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private String mobilePhone;

    /** 用户姓名 */
    @Excel(name = "用户姓名")
    private String userName;

    /** 业务名称 */
    @Excel(name = "业务名称")
    private String businessName;

    /** 业务类型 */
    @Excel(name = "业务类型")
    private String businessType;

    /** 业务开始时间 */
    @Excel(name = "业务开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 业务到期时间 */
    @Excel(name = "业务到期时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 业务状态（0正常 1停用 2到期） */
    @Excel(name = "业务状态", readConverterExp = "0=正常,1=停用,2=到期")
    private String status;


    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setBusinessId(Long businessId) 
    {
        this.businessId = businessId;
    }

    public Long getBusinessId() 
    {
        return businessId;
    }
    
    public void setMobilePhone(String mobilePhone) 
    {
        this.mobilePhone = mobilePhone;
    }

    public String getMobilePhone() 
    {
        return mobilePhone;
    }
    
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    
    public void setBusinessName(String businessName) 
    {
        this.businessName = businessName;
    }

    public String getBusinessName() 
    {
        return businessName;
    }
    
    public void setBusinessType(String businessType) 
    {
        this.businessType = businessType;
    }

    public String getBusinessType() 
    {
        return businessType;
    }
    
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("businessId", getBusinessId())
            .append("mobilePhone", getMobilePhone())
            .append("userName", getUserName())
            .append("businessName", getBusinessName())
            .append("businessType", getBusinessType())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
} 